package org.u2ml.stack.xml.xstream;

import org.hibernate.collection.PersistentMap;

import com.thoughtworks.xstream.converters.collections.MapConverter;
import com.thoughtworks.xstream.mapper.Mapper;

class HibernateMapConverter extends MapConverter {

	HibernateMapConverter(Mapper mapper) {
		super(mapper);
	}

	public boolean canConvert(Class type) {
		return super.canConvert(type) || type == PersistentMap.class;
	}
}